package com.test.p10proxy.example02;

import com.test.p10proxy.dynnamic_jdk.example01.RealStar;
import com.test.p10proxy.dynnamic_jdk.example01.Star;

public class Client01 {

    public static void main(String[] args) {
        Star real = new RealStar();
        Star proxy = new ProxyStar(real);
        proxy.confer();
        proxy.signContract();
        proxy.bookTicket();
        proxy.sing();
        proxy.collectMoney();
    }

}
